package com.example.tests;

import java.util.Set;

import org.testng.annotations.Test;

public class ContactRemovalTest extends TestBase {
	@Test 
	public void testFirstContactCanBeRemoved() throws Exception {
		Set<ContactObject> oldList = app.getContactHelper().getContacts();
		app.getContactHelper().deleteContact(0);
		Set<ContactObject> newList = app.getContactHelper().getContacts();
		verifyContactRemoval(oldList, newList);
	}
}
